A. Lang package
B. util package
C. io package
D. All of above
Advertisement
Related Mcqs:
- String is the predefined ?
- A. Object B. Variable C. Class D. Method...
- A method within a class is only accessible by classes that are defined within the same package as the class of the method. Which one of the following is used to enforce such restriction ?
- A. Declare the method with the keyword public. B. Declare the method with the keyword private. C. Do not declare the method with any accessibility modifiers. D. Declare the method with the keyword public and private....
- In java, gc() method is available in which package ?
- A. java.io package B. java.lang package C. java.awt package D. java.util package...
- A package is a collection of__________________?
- A. Classes and Interfaces B. Classes C. Editing tools D. Editing tools and Interfaces...
- Package of drawstring() method is _________________?
- A. java.awt B. javax.swing C. java.applet D. java.io...
- Which driver is efficient and always preferable for using JDBC applications_____________?
- A. Type-1 driver B. Type-2 driver C. Type-3 driver D. Type-4 driver...
- Which method of the Applet class displays the result of applet code on screen ?
- A. paint() method B. main() method C. run() method D. drawString() method...
- _________ allows java code to run in the JVM to call and be called by native applications ?
- A. JNI B. FJI C. NJI D. JFI...
- Why we use array as a parameter of main method_________________?
- A. Can store multiple values B. It is syntax C. Both of above D. None of above...
- x=x+1 is equivalent to _________________?
- A. x++ B. ++x C. x=x-1 D. None of these...
Advertisement